<?php
$custom_image_size = array(
//	'destaque1' => array(
//		'destaque1_size_w' => 80,
//		'destaque1_size_h' => 60,
//		'destaque1_size_crop' => 1
//	)
);

function lim_custom_image_size($size){
	global $custom_image_size;

	$keys = array_keys($custom_image_size);
	foreach ($keys as $size_) {
		$test_value = get_option($size_.'_size_w');

		if(!$test_value){
			update_option($size_.'_size_w', $custom_image_size[$size_][$size_.'_size_w']);
			update_option($size_.'_size_h', $custom_image_size[$size_][$size_.'_size_h']);
			update_option($size_.'_crop', $custom_image_size[$size_][$size_.'_crop']);
		}

		$size[] = $size_;
	}

	return $size;
}

add_filter('intermediate_image_sizes', 'lim_custom_image_size');